package JLB_Chapter_11;

public class code_11_04 {
    enum Constants2 {
        Constants_A, Constants_B, Constants_C
    }
    public static void main(String[] args) {
        for(int i = 0; i < Constants2.values().length; i++) {
            System.out.println(Constants2.values()[i] + ":" + Constants2.values()[i].ordinal());
        }
    }
}
